ODAC

TCREncryptor.SetKey Method

Sets a key, using which data is encrypted.

Class

TCREncryptor

Syntax

procedure SetKey(const Key; Count: Integer); overload;procedure SetKey(const Key: TBytes; Offset: Integer; Count: Integer); overload;

Parameters
Key
Holds bytes that represent a key.
Offset
Offset in bytes to the position, where the key begins.
Count
Number of bytes to use from Key.

Remarks

Use SetKey to set a key, using which data is encrypted.

Note: Calling of the SetKey method clears the Password property.

© 1997-2024 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback